package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.TeacherPoint;
import com.xmy.cultivate.entity.TrainPromoteLookTeacher;
import com.xmy.cultivate.mapper.TeacherPointMapper;
import com.xmy.cultivate.mapper.TrainPromoteLookTeacherMapper;
import com.xmy.cultivate.service.ITrainPromoteLookTeacherService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 资料查看教师 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-11-01
 */
@Service
public class TrainPromoteLookTeacherServiceImpl extends ServiceImpl<TrainPromoteLookTeacherMapper, TrainPromoteLookTeacher> implements ITrainPromoteLookTeacherService {
    @Autowired
     TrainPromoteLookTeacherMapper trainPromoteLookTeacherMapper;

    public IPage<TeacherPoint> findAll(IPage<TeacherPoint> page, String yearPart, String quarterNum, String lessonType, String teacherName, String yearClassId, String courseTypeId, String subjectId, String type, String teacherType, String versionId) {
        return trainPromoteLookTeacherMapper.findAllTeachingPoint(page, yearPart, quarterNum, lessonType, teacherName, yearClassId, courseTypeId, subjectId, type, teacherType, versionId);
    }

}
